package pojo;

/**
 * 仓库表实体类
 */
public class Warehouse {
    private Long warehouseId;           //仓库主键Id
    private String warehouseNum;        //仓库编号
    private String warehouseName;       //仓库名称
    private Long warehouseTypeId;       //仓库类型:1_公司仓库,2_租赁仓库
    private Long rentalPrice;           //租赁价格，单位:元/月
    private Long warehouseCapacity;     //仓库容量，单位:立方米
    private String warehouseAddress;    //仓库地址
    private Long lockStateId;           //仓库使用状态:1_锁定中,2_可使用
    private Long removeStateId;         //删除状态:1_已删除,2_未删除
    private String remark;              //备注

    public Warehouse(Long warehouseId, String warehouseNum, String warehouseName, Long warehouseTypeId, Long rentalPrice, Long warehouseCapacity, String warehouseAddress, Long lockStateId, Long removeStateId, String remark) {
        this.warehouseId = warehouseId;
        this.warehouseNum = warehouseNum;
        this.warehouseName = warehouseName;
        this.warehouseTypeId = warehouseTypeId;
        this.rentalPrice = rentalPrice;
        this.warehouseCapacity = warehouseCapacity;
        this.warehouseAddress = warehouseAddress;
        this.lockStateId = lockStateId;
        this.removeStateId = removeStateId;
        this.remark = remark;
    }

    public Warehouse() {
    }

    @Override
    public String toString() {
        return "Warehouse{" +
                "warehouseId=" + warehouseId +
                ", warehouseNum='" + warehouseNum + '\'' +
                ", warehouseName='" + warehouseName + '\'' +
                ", warehouseTypeId=" + warehouseTypeId +
                ", rentalPrice=" + rentalPrice +
                ", warehouseCapacity=" + warehouseCapacity +
                ", warehouseAddress='" + warehouseAddress + '\'' +
                ", lockStateId=" + lockStateId +
                ", removeStateId=" + removeStateId +
                ", remark='" + remark + '\'' +
                '}';
    }

    public Long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseNum() {
        return warehouseNum;
    }

    public void setWarehouseNum(String warehouseNum) {
        this.warehouseNum = warehouseNum;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public Long getWarehouseTypeId() {
        return warehouseTypeId;
    }

    public void setWarehouseTypeId(Long warehouseTypeId) {
        this.warehouseTypeId = warehouseTypeId;
    }

    public Long getRentalPrice() {
        return rentalPrice;
    }

    public void setRentalPrice(Long rentalPrice) {
        this.rentalPrice = rentalPrice;
    }

    public Long getWarehouseCapacity() {
        return warehouseCapacity;
    }

    public void setWarehouseCapacity(Long warehouseCapacity) {
        this.warehouseCapacity = warehouseCapacity;
    }

    public String getWarehouseAddress() {
        return warehouseAddress;
    }

    public void setWarehouseAddress(String warehouseAddress) {
        this.warehouseAddress = warehouseAddress;
    }

    public Long getLockStateId() {
        return lockStateId;
    }

    public void setLockStateId(Long lockStateId) {
        this.lockStateId = lockStateId;
    }

    public Long getRemoveStateId() {
        return removeStateId;
    }

    public void setRemoveStateId(Long removeStateId) {
        this.removeStateId = removeStateId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
